2nd order differential equation with variable coefficients